const rules = {
  subjectID: [
    { required: true, message: '请选择学科', trigger: 'change' }
  ],
  catalogID: [
    { required: true, message: '请选择目录', trigger: 'blur' }
  ],
  enterpriseID: [
    { required: true, message: '请选择企业', trigger: 'change' }
  ],
  province: [
    { required: true, message: '请选择城市', trigger: 'change' }
  ],
  city: [
    { required: true, message: '请选择地区', trigger: 'change' }
  ],
  direction: [
    { required: true, message: '方向', trigger: 'change' }
  ],
  questionType: [
    { required: true, message: '请选择题型', trigger: 'change' }
  ],
  difficulty: [
    { required: true, message: '请选择难度', trigger: 'change' }
  ],
  question: [
    { required: true, message: '请输入题干', trigger: 'blur' }
  ],
  answer: [
    { required: true, message: '请输入题干', trigger: 'blur' }
  ]
}
export default rules
